a = input("请输入一个大于一正整数：")
b = int(a)
c = False
for i in range(2, b):
    if b % i == 0: # 只要一个满足，就为True
        c = True

if c:
    print("是合数")
else:
    print("是质数")
